﻿namespace ApiTemplate.Application
{
    /// <summary>
    /// 应用服务基类
    /// </summary>
    public class BaseApplication
    {

        /// <summary>
        /// 可以直接使用属性注入
        /// </summary>
        public ICacheHelper CacheHelper { get; set; }

        /// <summary>
        /// 注入映射对象
        /// </summary>
        public IMapper Mapper { get; set; }

        /// <summary>
        /// 当前用户
        /// </summary>
        public ICurrentUser CurrentUser { get; set; }


    }
}
